package com.yzh.wanandroid.model

import androidx.databinding.BaseObservable
import androidx.databinding.Bindable
import com.yzh.wanandroid.BR

class NetWorkData : BaseObservable() {
    @get:Bindable
    var hasNetWork: Boolean = true
        set(hasNetWork) {
            field = hasNetWork
            notifyPropertyChanged(BR.hasNetWork)
        }
}